import request from '@/utils/request'
//疾病查找
export function ailmentSelect(row) {
  return request({
    url: '/review/ailmentSelect',
    method: 'post',
    data: row,
  })
}
//疾病修改
export function ailmentUpdate(row) {
  return request({
    url: '/review/ailmentUpdate',
    method: 'post',
    data: row,
  })
}
//疾病新增
export function ailmentInsert(row) {
  return request({
    url: '/review/ailmentInsert',
    method: 'post',
    data: row,
  })
}
//疾病删除
export function ailmentDeleted(row) {
  return request({
    url: `/review/ailmentDeleted/${row}`,
    method: 'post',
  })
}
//风险因素管理的查询
export function factorSelect(row) {
  return request({
    url: '/review/factorSelect',
    method: 'post',
    data: row,
  })
}
//风险因素管理的新增
export function factorInsert(row) {
  return request({
    url: '/review/factorInsert',
    method: 'post',
    data: row,
  })
}
//风险因素管理的修改
export function factorUpdate(row) {
  return request({
    url: '/review/factorUpdate',
    method: 'post',
    data: row,
  })
}
//风险因素管理的删除
export function factorDeleted(row) {
  return request({
    url: `/review/factorDeleted/${row}`,
    method: 'post',
  })
}
//风险因素疾病表查询
export function ailmentFactorSelect(row) {
  return request({
    url: '/review/ailmentFactorSelect',
    method: 'post',
    data: row,
  })
}
//风险因素疾病表新增
export function ailmentFactorInsert(row) {
  return request({
    url: '/review/ailmentFactorInsert',
    method: 'post',
    data: row,
  })
}
//风险因素疾病表修改
export function ailmentFactorUpdate(row) {
  return request({
    url: '/review/ailmentFactorUpdate',
    method: 'post',
    data: row,
  })
}
//风险因素管理的删除
export function ailmentFactorDeleted(row) {
  return request({
    url: `/review/ailmentFactorDeleted/${row}`,
    method: 'post',
  })
}
//评测表查找
export function UserEvaluatingSelect(row) {
  return request({
    url: '/review/UserEvaluatingSelect',
    method: 'post',
    data: row,
  })
}
//评测表的删除
export function UserEvaluatingDeleted(row) {
  return request({
    url: `/review/UserEvaluatingDeleted/${row}`,
    method: 'post',
  })
}
//问卷查找
export function QuestionnaireSelect(row) {
  return request({
    url: '/review/QuestionnaireSelect',
    method: 'post',
    data: row,
  })
}
//问卷新增
export function QuestionnaireInsert(row) {
  return request({
    url: '/review/QuestionnaireInsert',
    method: 'post',
    data: row,
  })
}
//问卷修改
export function QuestionnaireUpdate(row) {
  return request({
    url: '/review/QuestionnaireUpdate',
    method: 'post',
    data: row,
  })
}
//问卷删除
export function QuestionnaireDeleted(row) {
  return request({
    url: `/review/QuestionnaireDeleted/${row}`,
    method: 'post',
  })
}
//题库查找
export function askSelect(row) {
  return request({
    url: '/review/askSelect',
    method: 'post',
    data: row,
  })
}
//题库新增
export function askInsert(row) {
  return request({
    url: '/review/askInsert',
    method: 'post',
    data: row,
  })
}
//题库修改
export function askUpdate(row) {
  return request({
    url: '/review/askUpdate',
    method: 'post',
    data: row,
  })
}
//题库删除
export function askDeleted(row) {
  return request({
    url: `/review/askDeleted/${row}`,
    method: 'post',
  })
}
//题库查找
export function answerkSelect(row) {
  return request({
    url: `/review/answerkSelect/${row}`,
    method: 'post',
  })
}
//题库新增
export function answerkInsert(row) {
  return request({
    url: '/review/answerkInsert',
    method: 'post',
    data: row,
  })
}
//题库修改
export function answerkUpdate(row) {
  return request({
    url: '/review/answerkUpdate',
    method: 'post',
    data: row,
  })
}
//题库删除
export function answerkDeleted(row) {
  return request({
    url: `/review/answerkDeleted/${row}`,
    method: 'post',
  })
}
//上传文件
export function importExcel(row) {
  return request({
    url: `/review/importExcel`,
    method: 'post',
    data: row,
  })
}
//查询所有
export function excelossSelect(row) {
  return request({
    url: `/review/excelossSelect`,
    method: 'post',
    data: row,
  })
}

//修改
export function excelossUpdate(row) {
  return request({
    url: `/review/excelossUpdate`,
    method: 'post',
    data: row,
  })
}
//查询所有
export function excelossDelete(row) {
  return request({
    url: `/review/excelossDelete/${row}`,
    method: 'post',
  })
}
